package com.mall.db.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author hsp
 * @since 2021-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_members")
public class Members extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 会员昵称
     */
    private String lPname;

    /**
     * 头像
     */
    private String lIcon;

    /**
     * 手机号
     */
    private String lPhone;

    private String lSex;

    /**
     * 生日
     */
    @JSONField(format = "yyyy-MM-dd hh:mm:ss")
    private Date lBirthday;

    /**
     * 用户等级
     */
    private String cGrade;

    /**
     * 状态
     */
    private String cType;

    private Date createTime;

    /**
     * 用户名
     */
    private Date updateTime;

    private String lName;

    /**
     * 用户密码
     */
    private String lPassword;

    private String lMobile;

    private String lEmail;


}
